﻿using System;

namespace Tdbc.Domain
{
    public class Person : Entity
    {
        public string FirstName { get; set; }

        public string LastName { get; set; }

        public SexType Sex { get; set; }

        public DateTime Birthday { get; set; }

        public double Height { get; set; }

        public double Weight { get; set; }

        public int Age
        {
            get
            {
                return DateTime.Today.Year - Birthday.Year;
            }
        }
    }
}
